
module.exports = app => {
    const { router, controller } = app;

    router.get("/user/list",controller.user.index)
    router.get("/user/list/:id",controller.user.read)
    router.post("/user/create",controller.user.create)
    router.post("/user/update/:id",controller.user.update)
    router.post("/user/destroy/:id",controller.user.destroy)
    router.post("/user/createe",controller.user.createe)
  

  };
  